import http from '@/utils/http'

/**
 * 获取详情
 * @return {*}
 */
export function getCheckInfoAPI() {
  return http({
    url: '/member/order/pre',
    method: 'GET'
  })
}

/**
 * 创建订单
 */
export function createOrderAPI(data) {
  return http({
    url: '/member/order',
    method: 'POST',
    data
  })
}
